package la.iok.hzsvn.lewin.movie.operation.service;

import la.iok.hzsvn.lewin.movie.core.Token;
import la.iok.hzsvn.lewin.movie.operation.entity.SupportReturnMoneyShop;
import la.iok.hzsvn.lewin.movie.operation.model.SupportReturnMoneyShopParam;
import la.iok.hzsvn.lewin.movie.operation.model.SupportReturnMoneyShopVo;
import la.iok.hzsvn.lewin.mybatis.model.PageParam;
import la.iok.hzsvn.lewin.mybatis.model.PageVo;
import la.iok.hzsvn.lewin.mybatis.model.SortParam;
import la.iok.hzsvn.lewin.mybatis.service.BaseService;
import la.iok.hzsvn.share.annotations.NotNull;
import la.iok.hzsvn.share.annotations.Nullable;

public interface SupportReturnMoneyShopService extends BaseService<SupportReturnMoneyShop,Long> {
    /**
     * 保存记录
     * @param token 操作用户
     * @param orgUnitId 店铺id
     * @return 保存的记录id
     */
    Long save(@NotNull Token token, Long orgUnitId);

    /**
     * 删除记录
     * @param token 操作用户
     * @param id 记录id
     */
    void delete(@NotNull Token token, @Nullable Long id);

    PageVo<SupportReturnMoneyShopVo> page(Token token, PageParam pageParam, SortParam sortParam, SupportReturnMoneyShopParam listParam);

}
